<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>登陆</title>
    <!-- Iconic Fonts -->
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <!-- Bootstrap core CSS -->
    <link href="../../assets/css/bootstrap.min.css" rel="stylesheet">
    <!-- Mednalytics styles -->
    <link href="../../assets/css/style.css" rel="stylesheet">

    <!-- Favicon -->
    <link rel="icon" type="image/png" sizes="32x32" href="../../favicon.ico">
</head>
<body class="ms-body ms-primary-theme ms-logged-out">
<!-- Body Content Wrapper -->
<div class="ms-content-wrapper ms-auth">
    <div class="ms-auth-container">
        <div class="ms-auth-col" style="width: 600px;">
            <div class="ms-auth-bg"></div>
        </div>
        <div class="ms-auth-col">
            <div class="ms-auth-form" style="background-color: white">
                <!--style="opacity:1"-->
                <form class="needs-validation" novalidate="" action="/login" method="post">
                    <div class="reg d-none" style="color:deepskyblue;font-size: 25px;padding-bottom: 10px">
                        注册完成! 请登录
                    </div>
                    <h1>登陆管理账号</h1>
                    <p>医院后台管理系统</p>
                    <div class="mb-3">
                        <label for="validationCustom08">用户名</label>
                        <div class="input-group">
                            <input type="text" name="username" class="form-control" id="validationCustom08"
                                   placeholder="请输入你的用户名"
                                   required="">
                            <div class="error d-none" style="color:red">
                                请输入可用的账号
                            </div>
                        </div>
                    </div>
                    <div class="mb-2">
                        <label for="validationCustom09">密码</label>
                        <div class="input-group">
                            <input type="password" name="password" class="form-control" id="validationCustom09"
                                   placeholder="请输入你的密码"
                                   required="">
                            <div class="error d-none" style="color:red">
                                请输入正确的密码
                            </div>
                        </div>
                    </div>
                    <button class="btn btn-primary mt-4 d-block w-100" type="submit">登录</button>
                    <p class="mb-0 mt-3 text-center">没有账号? <a class="btn-link" href="default-register.html">创建新用户</a>
                    </p>
                </form>
            </div>
        </div>
    </div>
</div>
<!-- SCRIPTS -->
<!-- Global Required Scripts Start -->
<script src="../../assets/js/jquery-3.3.1.min.js"></script>
<script src="../../assets/js/popper.min.js"></script>
<script src="../../assets/js/bootstrap.min.js"></script>
<script src="../../assets/js/perfect-scrollbar.js"></script>
<script src="../../assets/js/jquery-ui.min.js"></script>
<!-- Global Required Scripts End -->
<!-- Mednalytics core JavaScript -->
<script src="../../assets/js/framework.js"></script>
<!-- Settings -->
<script src="../../assets/js/settings.js"></script>
<script>
    if (location.search == "?error") {
        $(".error").removeClass("d-none");
    }
    if (location.search == "?register") {
        $(".reg").removeClass("d-none")
    }

</script>
</body>
</html>
